1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| [09/15 08:14:44] reader WARNING: fail to map batch transform [BatchRandomResize_cf5b10] with error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'resize' > Overload resolution failed: > - Conversion error: src > - Expected Ptr<cv::UMat> for argument 'src' and stack: Traceback (most recent call last): File "D:\19693\Desktop\DeepLearning\PaddleYOLO\ppdet\data\reader.py", line 78, in __call__ data = f(data) File "D:\19693\Desktop\DeepLearning\PaddleYOLO\ppdet\data\transform\batch_operators.py", line 155, in __call__ return resizer(samples, context=context) File "D:\19693\Desktop\DeepLearning\PaddleYOLO\ppdet\data\transform\operators.py", line 102, in __call__ sample[i] = self.apply(sample[i], context) File "D:\19693\Desktop\DeepLearning\PaddleYOLO\ppdet\data\transform\operators.py", line 1298, in apply im = self.apply_image(sample['image'], [im_scale_x, im_scale_y]) File "D:\19693\Desktop\DeepLearning\PaddleYOLO\ppdet\data\transform\operators.py", line 1195, in apply_image return cv2.resize( cv2.error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'resize' > Overload resolution failed: > - Conversion error: src > - Expected Ptr<cv::UMat> for argument 'src'
|